package com.threeti.mecool.core.domain.model.plan.aspects;

import javax.persistence.*;

import org.springframework.beans.factory.annotation.Configurable;
import com.threeti.mecool.core.domain.model.plan.pojo.GroupStep;
import com.threeti.mecool.core.domain.model.plan.pojo.GroupStepItem;
import com.threeti.mecool.core.domain.model.plan.pojo.Step;

privileged aspect GroupStepItem_AJ_Entity {
	declare @type: GroupStepItem:@Configurable;
	declare @type: GroupStepItem:@Entity;
  declare @type: GroupStepItem:@Table(name = "DM_WF_GROUP_STEP_ITEM");
	
	declare @field: Long GroupStepItem.id:@Id;
	declare @field: Long GroupStepItem.id:@GeneratedValue(strategy = GenerationType.AUTO);
	declare @field: Integer GroupStepItem.version:@Version;
	
	declare @field: GroupStep GroupStepItem.groupStep:@ManyToOne(optional = false);
	declare @field: Step GroupStepItem.nextStep:@OneToOne;
}
